Skip to main content

Mazic Button

Props

  • title: (string) Button title
  • onPressFn: (Function) Function to be executed when you press the button
  • style?: Your own custom style that you want to apply on the button
  • m?: (number) margin of the button
  • bc?: (string) border color of the button
  • bgc?: (string) background color of the button
  • br?: (number) border radius of the button
  • w?: (number) width of the button
  • sc?: (string) shadow color of the button
  • disabled?: (boolean) disable value of the button

Note: Props with ? are optional props.